home *** CD-ROM | disk | FTP | other *** search
- -- card: 3346 from stack: in
- -- bmap block id: 0
- -- flags: 4000
- -- background id: 2744
- -- name: Timeout Script
- ----- HyperTalk script -----
- global Timeout
- global OldLoc
- get the MouseLoc
- if it = OldLoc then -- Have not moved since last time
- get card field Time -- See it we have timed out
- convert it to seconds
- if it > Timeout then -- Timed out so go to Timeout card
- hide menuBar
- visual effect dissolve slowly
- push card
- go to card "Timeout Card" of stack "HyperSleep"
- end if
- else -- We moved so reset the timer and OldLoc
- put it into OldLoc
- put the time into Timeout
- convert Timeout to seconds
- add 10 to Timeout
- end if
-
-
-
- -- part 3 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=43 top=66 right=292 bottom=492
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 4
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=79 top=302 right=324 bottom=224
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Open Timeout Script
- ----- HyperTalk script -----
- on mouseUp
- edit script of card "Timeout Script"
- end mouseUp
-
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=304 top=301 right=324 bottom=445
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Open Home Script
- ----- HyperTalk script -----
- on mouseUp
- push card
- go Home
- edit script of first card
- pop card
- end mouseUp
-
-
-
- -- part 7 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=227 top=301 right=326 bottom=254
- -- title width / last selected line: 0
- -- icon id / first selected line: 1014 / 1014
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Prev
- ----- HyperTalk script -----
- on mouseUp
- visual effect wipe right
- go to previous card of this bkgnd
- end mouseUp
-
-
-
- -- part 8 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=42 top=34 right=65 bottom=491
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 2
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name:
-
-
- -- part 9 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=43 top=66 right=292 bottom=492
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 4
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part contents for card part 3
- ----- text -----
- 1. Press the "Open Timeout Script" button and hold the command key while pressing the "A" key to select the entire script.
- 2. Hold the command key and press "C" to copy the script to the clipboard.
- 3. Press the the Cancel button to close the script.
- 4. Press the "Edit Home Script" button to send you to the home card.
- 7. Find the routine called "on idle".
- 8. Click in front of the line which contains the phrase "pass idle".
- 9. Hold the command key and press the "V" key to paste in the new script.
- 10. Press the OK button.
-
-
-
-
- -- part contents for card part 8
- ----- text -----
- Installing the script